fixed some initial error