File uploader tells "you can only updload the following extensions" even if the extension is correct