Syntax errors in beaches helper fixed