file manager: fix upload