2 medium severity bugs fixed