fixed few errors