fixes #302
fixes #303
fixed bug with unload into fog