Fixed some bugs regarding gravel