Fixed crashbug, by @Pikotee. Closes #5