Fixed bug with gl spacing