Fix dalvik inherit