Fixed a bug with mounting.