Fixed layered beats

minor bug fixes