Warning bugfix