removes ruby syntax