fixed bug in interaction with paperpackageupload plugin