fixed css and errors in async controller functions.