added normal before_filter, fixed bugs