minor buggs