fixed weird maggus bug