fixed upload bug

not sure if $ was needed
removed unecessary

-