bug fixes

Signed-off-by: Michael Bylov <michaelweb@ufothemes.com>