fixed request layout and console output