fixed not calling layout methods after initialisation