solved the four issues