Fixed not calling action when finished loading