fix for receiving bigger files