takes care of log messages of size = 0
more clear messages for incorrect shader type