fix  style profile link and fix bug resource not found