Fixed errors with configuration