fixed some intendtions