bugfixes for mathhub push

Change-Id: If29ed3602446a1f8a7a8f9fcac96b05e1a13db02