fixed initiation errors