fixed block and added behavior