Fix minor bug in calling super class