File upload works, but there is a lot of bugs