added numerical code block pre check