bug upload fix. Revision 3